-- GENERATED SPELL FOR [Sironas] --


function spell0_17678(pUnit, Event) --@Curse of Blood,n/a--
pUnit:FullCastSpellOnTarget(8282,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_17678', 2000, 1)
end

function spell1_17678(pUnit, Event) --@Curse of Tongues,n/a--
pUnit:FullCastSpellOnTarget(13338,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_17678', 15305, 1)
end

function spell2_17678(pUnit, Event) --@Immolate,n/a--
pUnit:FullCastSpellOnTarget(12742,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_17678', 23000, 1)
end

function spell3_17678(pUnit, Event) --@Uppercut,n/a--
pUnit:FullCastSpellOnTarget(10966,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_17678', 550, 1)
end

function Sorts_17678(pUnit, Event)
local choix_sorts_17678 = math.random(0, 3)
if choix_sorts_17678 == 0 then
pUnit:RegisterEvent('spell0_17678', 1, 1)
end
if choix_sorts_17678 == 1 then
pUnit:RegisterEvent('spell1_17678', 1, 1)
end
if choix_sorts_17678 == 2 then
pUnit:RegisterEvent('spell2_17678', 1, 1)
end
if choix_sorts_17678 == 3 then
pUnit:RegisterEvent('spell3_17678', 1, 1)
end
end

function mob17678_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_17678', math.random(1500, 3000), 1)
end

function mob17678_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob17678_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob17678_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(17678, 1, 'mob17678_Action')
RegisterUnitEvent(17678, 2, 'mob17678_Leave')
RegisterUnitEvent(17678, 3, 'mob17678_Kill')
RegisterUnitEvent(17678, 4, 'mob17678_Die')
